<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		function abc (x) {
			max =x[0];

			for (var i in x) {
				if(x[i]>max){
					max = x[i];
				}
			};

			return max;
			
		}

		// aaa = abc([78,7,90,576,767,890]);

		// alert(aaa)
		// 
		arr = [5,[3,3,3,3,3,3,3,3,3,3,3],[5,56,3],345,34,[3,3,3,6,7,3,6],34];


		function getSonLongArr (x) {
			index = 0;
			xbslong =0;
			for (var i in x) {
				if(x[i].length>xbslong){
					xbslong = x[i].length;
					index = i;
				}
			};
			return x[index];
		}

		res = getSonLongArr(arr);

		alert(res);
	</script>

</head>
<body>
	
</body>
</html>